package com.lottemall;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * 商品微服务启动类
 */
@SpringBootApplication
@EnableDiscoveryClient  //开启服务与发现
@MapperScan("com.lottemall.item.mapper") //扫描mapper接口
public class LtItemApplication {
    public static void main(String[] args) {
        SpringApplication.run(LtItemApplication.class,args);
    }
}
